﻿using System;

namespace Borg
{
    [Serializable]
    public sealed class DispatcherExceptionEventArgs : EventArgs
    {
        private readonly Exception _exception;

        public Exception Exception
        {
            get { return _exception; }
        }

        public DispatcherExceptionEventArgs(Exception exception)
        {
            _exception = exception;
        }
    }
}
